﻿namespace ED.Model.Response
{
    public class BaseCityRes
    {
        /// <summary>
        /// PK    
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 城市名称    
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 缩写    
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 城市编码    
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 是否启用    
        /// </summary>
        public bool? Active { get; set; }

        /// <summary>
        /// 排序号    
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 备注    
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 无    
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 创建时间    
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 创建人    
        /// </summary>
        public int? CreatedBy { get; set; }

        public List<BaseCityRes> Children { get; set; } =new List<BaseCityRes>();
    }
}
